home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
dsterf.z
/
dsterf
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
DDDDSSSSTTTTEEEERRRRFFFF((((3333FFFF)))) DDDDSSSSTTTTEEEERRRRFFFF((((3333FFFF))))
NNNNAAAAMMMMEEEE
DSTERF - compute all eigenvalues of a symmetric tridiagonal matrix using
the Pal-Walker-Kahan variant of the QL or QR algorithm
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
SUBROUTINE DSTERF( N, D, E, INFO )
INTEGER INFO, N
DOUBLE PRECISION D( * ), E( * )
PPPPUUUURRRRPPPPOOOOSSSSEEEE
DSTERF computes all eigenvalues of a symmetric tridiagonal matrix using
the Pal-Walker-Kahan variant of the QL or QR algorithm.
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
N (input) INTEGER
The order of the matrix. N >= 0.
D (input/output) DOUBLE PRECISION array, dimension (N)
On entry, the n diagonal elements of the tridiagonal matrix. On
exit, if INFO = 0, the eigenvalues in ascending order.
E (input/output) DOUBLE PRECISION array, dimension (N-1)
On entry, the (n-1) subdiagonal elements of the tridiagonal
matrix. On exit, E has been destroyed.
INFO (output) INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
> 0: the algorithm failed to find all of the eigenvalues in a
total of 30*N iterations; if INFO = i, then i elements of E have
not converged to zero.
PPPPaaaaggggeeee 1111